﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace iPick.Models
{
    public class FilterModel
    {
        public FilterModel()
        {

            fromyear = new List<string>();
            toyear = new List<string>();
            usermoviertating = new List<string>();
            for (int i = 1975; i < DateTime.Now.Year; i++)
                fromyear.Add(i.ToString());
            for (int i = DateTime.Now.Year; i > 1975; i--)
                toyear.Add(i.ToString());
            for (int i = 1; i < 6; i++)
                usermoviertating.Add(i.ToString());
        }

        public List<string> fromyear { get; set; }
        public List<string> toyear { get; set; }
        public List<string> usermoviertating { get; set; }
    }
}